directive animation scaffolding