Add a public API for setting animation's duration
Merge pull request #3 from fastred/issue_2

Add a public API for setting animation's duration