Added options to disable autoresize of the slider.