preserve search term when navigating