Add configuration to the animation duration
Merge pull request #2 from electic/master

"Add configuration to the animation duration."
If you need it, that's a good feature. Maybe others need as well.
Thanks for contributing. Cheers!