Close mobile nav sidebar on navigation

closes #3759
- I believe that giving the gh-popover a `closeMainMenuOnClick`
property is the least invasive way without compromising anything else,
otherwise we’ll have to either change the way popovers capture click
events or the way we close the main menu.