Implemented scrollbar buttons functionality.