jquery animate, scroll top top slow
<p>I'd like my page to go to the top when certain anchor is clicked, I had this done before but I lost the code somewhere, here is how I tried to do it but its not working its scrolling usual super fast.</p>

<pre><code> $('a[href=#top]').click(function () {
        $('body').animate({
                scrollTop: 0
        },
        50);
});
</code></pre>

<p>Can anybody help me, tnx </p>
