     
     var content: UIViewController!
     var snapThreshold = CGFloat(40)
+    private var rotatingContentH = CGFloat(0)
     
     public convenience init(content: UIViewController) {
         self.init(nibName: nil, bundle: nil)

        } else {
            UIView.animateWithDuration(0.3, delay: 0, usingSpringWithDamping: 0.8, initialSpringVelocity: 0, options: .CurveEaseOut, animations: {
                self.content.view.frame = CGRect(x: self.content.view.frame.origin.x, y: point.y, width: self.content.view.frame.width, height: self.content.view.frame.height)
            }, completion: nil)
        }
    }
    

        
        return (up == max ? nil : up, down == max ? nil : down)
    }

}

extension FOPopupController: UIViewControllerTransitioningDelegate {
