change the animation mechanism