restyle for mobile and desktop