Fix main page layout