make flexbox display work in Safari