:) I'm posting a reply to myself. I should have seen this:
Have the onzoom event trigger a function, stopDrag for example, that sets a zoom flag. Then have the functions initDrag and drag check if the zoom flag is not set to proceed with their statements.
I also had to call the endDrag function in the end of the stopDrag function for the text to be displayed after zooming in.