restyle layout