function isFigureBottom(fig_object){
    var fig_height = fig_object.getBoundingClientRect().height;
    var fig_top = fig_object.getBoundingClientRect().top;
    if((window.innerHeight * .95)-fig_top > 0){
        return true;
    }else{
        return false;
    }
}