flatten nav for mobile