Made slider a module