         return frame
     }
     
+    // MARK: - UIViewControllerAnimatedTransitioning
+
     func transitionDuration(transitionContext: UIViewControllerContextTransitioning?) -> NSTimeInterval {
         return duration
     }

        }
    }
    
    var direction: Direction = .Left // Direction to which it presents. Dismiss direction defaults to opposite.
    
    private func animationController() -> TranslationAnimationController {
        let animationController = TranslationAnimationController()

    @IBInspectable var bottomInset: CGFloat = 0.0
    @IBInspectable var belowTopGuide: Bool = false
    var direction: Direction = .Left // Direction to which it presents. Dismiss direction defaults to opposite.

    // MARK: - Private functions

    private func presentedFrameInContainerView(containerView: UIView) -> CGRect {
        // TODO: Use AutoLayout
