Another tiny jQuery plugin that animates anchor links with some options. Works also for "back to top" links.
Simple example
$(document).ready(function() {
$('.scroll').smoothScroll();
});
Scroll to top
$(document).ready(function() {
$('.toTop').smoothScroll({
toTop: true
});
});