added arrow keys navigation