index line slider fix