reset URL on render if user navigates away in R Markdown viewer pane