     addSubview(card)
     
     self.addGestureRecognizer(UIPanGestureRecognizer(target: self, action: "dragged:"))
+    originalPoint = center
     
     card.setTranslatesAutoresizingMaskIntoConstraints(false)
     setConstraints()


class SwipeView: UIView {
  private let card: CardView = CardView()
  
  //MARK: - Initializers
  required init(coder aDecoder: NSCoder) {

  func dragged(gestureRecognizer: UIPanGestureRecognizer) {
    let distance = gestureRecognizer.translationInView(self)
    println("Distance x:\(distance.x) y: \(distance.y)")
    center = CGPointMake(originalPoint!.x + distance.x, originalPoint!.y + distance.y)
  }
  
  private func setConstraints() {
