fixed autoscroll offset when using jQuery