Added min and max options to slider.