Added orientation support when the centerViewController is a subclass of UINavigationViewController