changed window height

in _nearbottom to work with Chrome