properly watch for route changes & change tabs