Use router.subscribe to detect nav direction between parent and child - TanStack