Changed to make flex box work on opera/firefox