Updated index of scrollview