Fix arrow navigation  bugs:
* pressing down arrow at the last item should not loop back to the first item
* pressing up arrow on first item should remove highlight on first item