Refactored animated scrolling #22.