Add the search submenu to doc page when user came from search

To test:

1.  Do a search
2.  Click on a search result

(You'll see "<", ">", and "^v" icons)

3.  Mouseover or tab to the "^v" icon and a list will pop up.

This also adds key controls to menus to close upon ESCAPE key or tab out.