change the style of the index display