$(document).ready(function() {
var iterator = 0;
function goCount(){
$(".span-cont").animate({"top": "-=50px"}, 5000, function(){goCount()});
if(iterator == 8){
var newCont = $(".span-cont").clone();
newCont.css('top', '64px');
$(newCont).appendTo("#span-carousel");
}
if(iterator > 9){
$(".span-cont:first").remove();
iterator = -1;
}
iterator++;
}
goCount();
});