Added min and max options to slider.

Hi folks,
I added minimum and maximum options to the slider.
BTW is there any way to auomatically update the min files?