Fix the navigation direction