flexbox fixes for firefox