does changing a slider's max value reset the slider value as well?

seems something else is wrong