Added min and max options to slider.

New pull request for this branch.