finishes up the navigation