changed to slide so the view will update as the slider is being dragged.