how to use jquery animate function to move div from the top code example
Example: jquery change position animate
$("#Friends").animate({
top: "-=30px",
}, duration );
$("#Friends").animate({
top: "-=30px",
}, duration );