Element resize detection, both modern way and cross browser.
github.com/Justineo/resize-detector
Justineo/resize-detector