Added an example of using linkToAnimated

Added an example on how to use linkToAnimated in 875b01034bf0d0ab9e1070b61919508edaab685e