added disabling of slider