jqueyr return from function after animation ends code example
Example: how to run function after animation complete jquery
$('#header .pointerarrow').animate(
{ left: linksstart + breedte },
400, function() {
// Animation complete.
});