Updated scrollTo to fix behavior in Chrome