made it possible to pass an template name to the AnimateTemplate helper