updating styles to show on smaller screens