       setupMidPoints()
     }
   }
+
+  /// Will be set to true if the control is animating the snapping
+  var isSnapping: Bool = false
   
   /// Seconds from the time user lifts touch until the control auto-closes
   var secondsToClose: CGFloat? = 0.5

    // Initialize our added elements
    expanded = false
    expansionChangeNeeded = false
    super.init(coder: aDecoder)
    clipsToBounds = true
    snapAnimUIDynamicAnimator = UIDynamicAnimator(referenceView: self)
    snapAnimUIDynamicAnimator!.delegate = self
    dataSource = self
  }


  }()
  
  /// An animator to show a snapping effect on the selected tick
  lazy private var snapAnimUIDynamicAnimator: UIDynamicAnimator = {
    let animator = UIDynamicAnimator(referenceView: self)
    animator.delegate = self
    return animator
  }()
  
  /**
  Closes the control after a second
