flexbox layout for demo page