use flex layout for menu