adjust style for displaying on small screen.