fix(slider): Isolate the slider's scope