Made slider work