tidying up the scrolling