slider now works correctly