Fixes scrolling around the screen