         super.init(coder: aDecoder)
     }
     
+    // MARK:- Gesture Recognizers
     func userTap(recognizer: UITapGestureRecognizer) {
         isHidden = true
         removeFromSuperview()
     }
     
-    
+    // MARK:- Swiping Helpers
     func swipe(in frame: CGRect) {
         center(view: self, in: frame)
         animateSwipe()

//
//  CircleView.swift
//  CoachMarksExample
//
//  Created by Tulio Troncoso on 6/15/17.

        let offsetY = frame.height / 2
        let newY = centerY - offsetY
        
        view.frame = CGRect(x: view.frame.origin.x, y: newY, width: frame.width, height: frame.height)
    }
    
    func centerX(view: UIView, in frame: CGRect) {
        let centerX = frame.origin.x + (frame.width / 2)
        let offsetX = swipeDistance / 2
        let newX = centerX - CGFloat(offsetX)
        
        view.frame = CGRect(x: newX, y: view.frame.origin.y, width: frame.width, height: frame.height)
    }
}
