I did something like this:
$(document).ready(function () {
function tick(){
var $obj = $(".major_data .commitment_box .commitment");
$obj.first().animate({
'margin-top': "-=40"
}, 1000, "linear", function() {
setTimeout(function(){
$obj.first().css("margin-top", "0").insertAfter($obj.last());
tick()
}, 1000);
});
}
tick();
});