chang the layout of the index