Fix navigation reload

Activate the correct menu item with JavaScript after relaod and don't
 render it on server-side on XHR requests.