enabling active state to submenus