Make the UP/DOWN buttons work