Cleanup links between page changes