Add navigation-3d middleware.