add animation/transition delay support
Merge pull request #792 from jslayer/master

add animation/transition delay support