Implemented UP and DOWN buttons.