only display submenu when the submenu is more than one