Similar to my question here is there any way to prevent automatic scroll without a hash / anchor up top. The method described in that post revolves around checking if there is a hash.
Is there a way to know if the browser has a point to scroll to OR if the page is being refreshed or just visited.