fix bug on slider/index when call slider partioal