Added option for sliders to snap to integers

ping @jessedc