new index is in a slider