display:flex changed to display:initial on tablet and mobile