close top bar when selecting menu item