fix page scrolling on up/down