I want to implement some conditional scrollTo behavior depending whether the page is accessed directly by typing the URL into browser VS when the page is rendered as a resul