scroll down to position
<p>I have this code to make page scroll up and down,Please tell me how to make it back to scroll postion instead of down page when i click down?</p>

<pre><code>&lt;a href="javascript://" id="toDown"&gt;Down&lt;/a&gt;
&lt;a href="javascript://" id="toTop"&gt;Top&lt;/a&gt;

&lt;script type="text/javascript"&gt;
jQuery.noConflict();
$(window).scroll(function(){
    if($(window).scrollTop() &gt; "0"){
        $('#toTop').fadeIn();
        $('#toDown').hide();
    }else if($(window).scrollTop() == "0"){
        $('#toTop').fadeOut();
        $('#toDown').fadeIn();
    }
});
$('#toTop').click(function(){
    $('html, body').animate({scrollTop:0}, 0);
    $('#toDown').fadeIn();
});
$('#toDown').click(function(){
    $('html, body').animate({$('body').height()}, 0);
    $('#toDown').fadeOut();
});
&lt;/script&gt;
</code></pre>
