update style for mobile displays