Fix for window.bind('resize') loop in old IE

As documented here: https://stackoverflow.com/questions/1852751/window-resize-event-firing-in-internet-explorer
Fixes #6