update for firefox flexbox issue