Add onFinish

Adds the onFinish optional function, which is executed when the text effect finishes.
Merge pull request #1 from derektom14/patch-1

Add onFinish