Flexbox overhaul