Slider refactor.