Adding a couple of useful callbacks for autogrow

I found it useful to have a couple of callbacks before and after the textarea grow.

Just wanted to share back somathing since your work has been very useful for me :)