Allow document selection with arrow keys