Scroll to top of the page with jQuery
$('.totop').click(function(){ $('html, body').animate({ scrollTop: 0 }, 600); return false; });