re-add winEvents

bleh. sorry. I shouldn't have removed this in the latest pr. I realized that this is still necessary if resizing the window alters the position of the text, and requires updating the position of the popover.