Prevent errors when up/down arrows are pressed in an empty notebook.

Notebook.get_selected_cell() returns `null` in an empty notebook.
Fix an incorrect comment.
Merge pull request #3126 from dwyde/arrow-keys-empty-notebook

Prevent errors when pressing arrow keys in an empty notebook

Notebook.get_selected_cell() returns null in an empty notebook.