 
     public var visibleBackgroundWidth: CGFloat = 60.0
     
-    // MARK: - Status Bar Background
-    lazy var statusBarBg: UIView = {
+    // MARK: - Views
+    lazy var statusBarBackground: UIView = {
         let view = UIView(frame: CGRectZero)
-        view.frame = CGRect(x: self.containerView!.frame.origin.x, y: 0, width: self.containerView!.frame.size.width, height: UIApplication.sharedApplication().statusBarFrame.size.height)
-        
-        let statusBarBgBottomBorder = UIView(frame: CGRectMake(self.containerView!.frame.origin.x, UIApplication.sharedApplication().statusBarFrame.size.height, self.containerView!.frame.size.width, 0.5))
+        view.frame = CGRect(x: CGRectGetMinX(self.containerView!.bounds), y: CGRectGetMinY(self.containerView!.bounds), width: CGRectGetWidth(self.containerView!.bounds), height: 20.0)
+        let statusBarBackgroundBottomBorder = UIView(frame: CGRectMake(CGRectGetMinX(view.bounds), CGRectGetMaxY(view.bounds), CGRectGetWidth(view.bounds), 0.5))
         view.backgroundColor = UIColor.whiteColor()
-        statusBarBgBottomBorder.backgroundColor = UIColor.lightGrayColor()
-        view.addSubview(statusBarBgBottomBorder)
+        statusBarBackgroundBottomBorder.backgroundColor = UIColor.lightGrayColor()
+        view.addSubview(statusBarBackgroundBottomBorder)
 
         return view
     }()
     
-    // MARK: - Views
     lazy var backgroundView :UIView = {
         let view = UIView(frame: CGRectZero)
         view.backgroundColor = UIColor(white: 0, alpha: 0.5)

        
        if newCollection.verticalSizeClass == .Compact
        {
            self.statusBarBg.hidden = true;
            var frameL = self.containerView!.bounds;
            if !UIApplication.sharedApplication().wmf_tocShouldBeOnLeft{
                frameL.origin.x += self.visibleBackgroundWidth

        let tap = UITapGestureRecognizer.init()
        tap.addTarget(self, action: Selector("didTap:"))
        view.addGestureRecognizer(tap)
        view.addSubview(self.statusBarBackground)
        
        return view
    }()
    
    func didTap(tap: UITapGestureRecognizer) {
        self.tapDelegate?.tableOfContentsPresentationControllerDidTapBackground(self);
