Changing the way sliders calculate