Scrolling up now goes to the bottom of the previous image. Refactored.