update css for different screen sizes