restyle layout for mobile