Adjusted the layout for main page