change logic to check active menu item