add slider to index