finish adjusting index layout