A subclass of UISlider that snaps to pre-specified values, or detents.