added css adjustments for flexbox in different browsers