changed how the navigation disapears