Added sanity check of min and max values. Min and max values of the range inputs now honor the min and max values of the slider.