bug fix for the navigation transition