Helper to get all parent view controllers.