index - fix resize slider