track items' indexes in slider array