slider now works