A Cross-Browser, Event-based, Element Resize Detection