fixing half page scrolling and moving