modification of slider with sclae