Add a callback for when complete

I added a callback option for flipping_text. Someone thought it would be a good idea at http://stackoverflow.com/questions/21262523/how-do-i-execute-a-function-after-another-function-is-complete/21264560