Overriding operations for arrow keys