resize slider fix