                     
                     // within range of center container
                     if currentXOffset.constant > (horizontalSnapThresholdFraction * -view.frame.size.width) {
-                        showContainer(.Center)
+                        showEmbeddedView(.Center)
                     }
                         
                         // within range of right container
                     else if currentXOffset.constant < ((1.0 - horizontalSnapThresholdFraction) * -view.frame.size.width) {
-                        showContainer(.Right)
+                        showEmbeddedView(.Right)
                     }
                         
                         // center region: depends on inertia direction
                     else {
                         // pulled left
                         if previousNonZeroDirectionChange.dx < 0.0 {
-                            showContainer(.Right)
+                            showEmbeddedView(.Right)
                         }
                             
                             // pulled right
                         else {
-                            showContainer(.Center)
+                            showEmbeddedView(.Center)
                         }
                     }
                 }

    }
    
    func onDone(sender: AnyObject) {
        showContainer(.Center)
    }
    
    func onShowContainer(position: Position, sender: AnyObject) {
        showContainer(position)
    }
    
    // MARK: - Pan Gestures

    }
    
    // MARK: - Containers
    public func showEmbeddedView(position: Position) {
        var disappearingViewController: UIViewController = centerViewController
        let targetOffset: CGVector
        switch position {
