 	public override func viewWillLayoutSubviews() {
 		super.viewWillLayoutSubviews()
 		layoutBackdropLayer()
-		if let v: MaterialView = sideView {
-			sideViewController?.view.frame = v.bounds
-			sideViewController?.view.center = CGPointMake(v.width / 2, v.height / 2)
-		}
+		sideView.height = view.bounds.height
+		sideViewController.view.frame.size.width = sideView.width
+		sideViewController.view.frame.size.height = sideView.height
+		sideViewController.view.center = CGPointMake(sideView.width / 2, sideView.height / 2)
 	}
 	
 	/**

			self.sideView.zPosition = 1000
		})
		
		prepareViewControllerWithinContainer(sideViewController!, container: sideView)
		
		// gestures
		prepareGestures()

		// container
		sideView.frame = CGRectMake(0, 0, sideViewControllerWidth, view.frame.height)
		sideView.backgroundColor = MaterialColor.blue.accent3
		sideView.autoresizesSubviews = true
		view.addSubview(sideView)
		
		MaterialAnimation.animationDisabled({
