Changed navigation stack to work in both directions (parent/child).