We don't really need to import PanelNavigationController here. It could be more generic by doing this:

```objc
UIViewController *viewController = [[UIApp keyWindow] rootViewController];
```

Then use that to insert the view and figure out interface orientation