Track current view and remove on entering the new route.