A subclass of UINavigationController which supports two transitions of dismissing views.