Fix slider
Merge pull request #1463 from erwinwinder/master

Fix slider