moved functionality of animationManager to visualization