Slider adding code done.