fix style slider index