Updated main page layout for smaller screens