add paragraph animation support

This pull request is for issue #1 . I don't know how to attach this pull request to that issue. Can anybody help?