jquery prepend change scroll position
<p>I have a problem when I prepend a new div with 780px height and after doing animation scrolling is change 2 time with 780px down can somebody help me?</p>

<pre><code>function slide_up()
{
    var str = document.URL;
    var list = str.split("Details");
    var url = list[0] + "AddDetails";
    $.ajax({
        type: 'POST',
    url: url,
    data: { direction: "up", artikel_id: parseInt(artikel_id) },
    success: function (result) {
        $("#details-list").prepend(result);
    }
});
$("#scroll").animate({ scrollTop: '-=780px' }, 1000);
}
</code></pre>
