changed layout display on mobile