changes to index for sliders