fixed the layout for mobile and wider screens