slider now will refresh properly