updated scaling of slider