Improved model navigating with arrow keys logic