updates styling to optimize for mobile