how to complete a function while an aniumation is happening code example
Example: how to run function after animation complete jquery
$('#header .pointerarrow').animate(
{ left: linksstart + breedte },
400, function() {
// Animation complete.
});