Make controls work in browsers that don't support event.key.
Make scrolling nicer by trying to keep the selected index in the middle of the screen.