I use this script to create a simple horizontal animate scroll. But i need move div #logo with the body....

I try
Code JavaScript:
 $('#logo').animate({left:"+="+500},1000);
but donīt work.....

Code JavaScript:
$(document).ready(function() {
 var margin = 0;
 var width  = $('body').width();
 
   $('#next').click(function(event) {
        event.preventDefault();
	margin +=width;
        $('html, body').stop().animate({scrollLeft:"+="+500},1000);
		$("#prev a").css('visibility','visible');
    });
    $('#prev').click(function(event) {
	event.preventDefault();
	margin -=width;
        $('html, body').stop().animate({scrollLeft:"-="+500},1000);
	if(margin<100){$("#prev a").css('visibility','hidden');}
    });
});

Anyone can help me??