improved flexbox support for older browsers