Fix the navigation animation