Added arrow key detection to n/s/e/w buttons