Adds rotation support and support for UINavigationControllers