 
 
     override func didRotateFromInterfaceOrientation(fromInterfaceOrientation: UIInterfaceOrientation) {
+		super.didRotateFromInterfaceOrientation(fromInterfaceOrientation)
         self.layoutSubViews()
         self.changeActiveTabIndex(self.activeTabIndex)
     }

                viewController.view = UIView()
            }
            self.contents[index] = viewController
        }
        return self.contents[index]
    }

            return nil
        }

        if (self.contents[index] as UIViewController?) == nil {
            var viewController: UIViewController

            if (self.dataSource!.respondsToSelector(Selector("controllerForTabAtIndex:pager:"))) {
