Fixing bug with scrollTo on desktops