added an active state to the menu items