Added min and max options to slider.

Including change on the docs.