updated speed value for turning with slider