modified index slider