Fixes #19: update slider value on change