Please tell me what's wrong, if I enter min value greater than max then the slider does not cross the min mark, do not understand why when I enter the max value is less than the minimum or more than I have the slider returns to the initial value, and remains close to the minimum or to the value that I entered
https://jsfiddle.net/t712yn8u/