             multiplier:1,
             constant:0)
         controller.layoutRight = NSLayoutConstraint(
-            item:current!,
+            item:controller.view,
             attribute:NSLayoutAttribute.Right,
             relatedBy:NSLayoutRelation.Equal,
             toItem:self,

        insertSubview(controller.view, belowSubview:bar)
        
        let views:[String:AnyObject] = [
            "view":current!]
        
        let metrics:[String:AnyObject] = [:]
        

            views:views))
        
        controller.layoutLeft = NSLayoutConstraint(
            item:controller.view,
            attribute:NSLayoutAttribute.Left,
            relatedBy:NSLayoutRelation.Equal,
            toItem:self,
