check position on page load or scroll, workaround for refreshing a page while not at the top.