implement active class for menus