style is modified for mobile device