Added tick marks and snap to tick to slider.