Implemented basic scrolling functionality