Change slider value to a variable.
Change slider value to a variable.