Preventing negative values in scrollTopMax when body overflow is set to hidden.