Move to private method `_handleViewTransition`.