added range to the slider.