Change the scaling slider function.