another approach slider fix