changed style for smaller devices