         
         if newCollection.verticalSizeClass == .Compact
         {
-            self.statusBarBg.hidden = true;
+            self.statusBarBackground.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.statusBarBg)
        
        return view
    }()




    // MARK: - Tap Gesture
    lazy var tapGesture :UIView = {
        let view = UIView(frame: CGRectZero)
        view.backgroundColor = UIColor(white: 1.0, alpha: 0.5)
        view.alpha = 0.0
        return view
        }()
    
    
    func didTap(tap: UITapGestureRecognizer) {
        self.tapDelegate?.tableOfContentsPresentationControllerDidTapBackground(self);

        // Add the dimming view and the presented view to the heirarchy
        self.backgroundView.frame = self.containerView!.bounds
        self.containerView!.addSubview(self.backgroundView)
        
        if(self.traitCollection.verticalSizeClass == .Compact){
            self.statusBarBackground.hidden = true
        }
        
        self.containerView!.addSubview(self.presentedView()!)
        
        // Hide the presenting view controller for accessibility
        self.togglePresentingViewControllerAccessibility(false)

