adds nav bar in flexbox