I was looking for a neat way to load dynamic data and then scroll the user to it. I wanted it to look smooth as well. Quick jumps make it look too harsh, like a page refresh.
Here is a simply function you can use. Just pass an element to it, jquery wrapped.
You want to scroll to foo.