I can't for the life of me figure out what the problem with this code is. The animation itself works fine:
if (!list.is(':animated')) {
list.animate(
{"top": "+="+item_size},
{queue:false, duration:speed},
function() {
alert();
}
); // end of animate function
} //end of if statement