modified the navigation template to activate the appropriate header title in the navbar, even after a refresh