add support for menus on navbars (navbarMenu function)