avoiding of useless calculation if there is no place to scroll