changing style for mobile use