additional fix for flexbox on safari 6 Mac and IOS