update style for smaller screens