working exit animations on route cange