add the active class to the selected menu item in the navigation