animation on link change