Added UP button code to move upwards