Changed variable name to not conflict with window.scrollTo()