added support for usage along with UINavigationController (only tested top mode)