tweaked how parameters are processed in scrollTo function
comment code (in progress)