Animate expandable directive, fixes #188