remove unneeded console.log and window.scrollTo statement