listening for change of slider