brushing up layout for flexbox