simplified arrow key functions