Change style according to screen width