use variable to hold slider rather than leaving unbound