Implementing navigation using keyboard arrow keys.