Added scrolling functionality.