Take the 2-minute tour ×  I'm using the following code to scroll
a layer according to mouse position:   It works find however,
I'm finding that the scroll speed is much faster when going to
the right. Also noticed that if the scroller starts on the left
and scroll to the right just a little bit and then scroll back
tot he right again it's really really slow. I'm assuming that
the actuall scroll speed isn't best controlled using the
duration argument but I'm not sure how else to control the
speed. I would like to have a consistent speed regardless of
where the scroll bar is.  Any pointers?   share|improve this
question it should actually be scrollTop, not scrollTo. Typo? – 
jAndy Jul 19 '10 at 14:09 sorry, well spotted. I'm actually
using scrollLeft.. horizontal scroller... I've had a look at
scrollTo plugin and smooth scroller but I'd like to avoid using
loads of plugins... –  Steven Cheng Jul 19 '10 at 14:19 add
comment  1 Answer  up vote 5 down vote accepted  The problem is
that's a duration, not a speed yo