Overflow changed

If browser supports "overflowChanged"/"resize" events-> setInterval replaced by them. Link to description- http://www.backalleycoder.com/2013/03/18/cross-browser-event-based-element-resize-detection/