Added basic keyboard shortcuts for navigating.

- esc closes the popup.
- arrow-left goes back and arrow right goes forward.