update slider index