split navitems rendering into dropdown and flat