         }
     }
     
-    func resetViewPositionAndTransformationsInFront(orInBack inBackInsteadOfInFront:Bool) {
-
-        animator.addBehavior(snap)
-        
-        UIView.animateWithDuration(0.2) { () -> Void in
-            self.center = self.originalPoint
-            self.transform = CGAffineTransformMakeRotation(0)
-        }
-    }
-    
-    func snapView(point: CGPoint) {
-        snapBehavior = UISnapBehavior(item: self, snapToPoint: originalPoint)
-        snapBehavior!.damping = 0.75
-        animator.addBehavior(snapBehavior)
-    }
-    
-    func unsnapView() {
-        guard let snapBehavior = snapBehavior 
-    }
+    
+//    func snapView(point: CGPoint) {
+//        snapBehavior = UISnapBehavior(item: self, snapToPoint: originalPoint)
+//        snapBehavior!.damping = 0.75
+//        animator.addBehavior(snapBehavior)
+//    }
+//    
+//    func unsnapView() {
+//        guard let snapBehavior = snapBehavior else { return }
+//        animator.removeBehavior(snapBehavior)
+//    }
     
     func shouldSwipeAdvanceCards(movement: Movement)->Bool {
         let translation = movement.translation

        layer.cornerRadius = 10.0
    }
    
    func setupGesturesAndDynamics() {
        panGestureRecognizer = UIPanGestureRecognizer(target: self, action: Selector("handlePan:"))
        self.addGestureRecognizer(panGestureRecognizer)
        
        animator = UIDynamicAnimator(referenceView: self)
    }
    
    // == Transforms ==

            transform = scaleTransform
            
        case .Ended:
//            resetViewPositionAndTransformationsInFront(orInBack: true)
        
        
        case .Cancelled:
//            resetViewPositionAndTransformationsInFront(orInBack: false)
            // TODO: Logic here.
            
        default:
