Fixed the layout for the index pages