         
         return (up == max ? nil : up, down == max ? nil : down)
     }
-    
-    public required init?(coder aDecoder: NSCoder) {
-        fatalError("init(coder:) has not been implemented")
-    }
-    
+
 }
 
 extension FOPopupController: UIViewControllerTransitioningDelegate {

            self.dismissViewControllerAnimated(true, completion: nil)
        }
    }
    
    func pan(recognizer: UIPanGestureRecognizer) {
        let translation = recognizer.translationInView(recognizer.view)

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