fixes window.resize bug that freezes ie7

On ie7, the call to place() would generate a new window.resize event which would in turn call place() again and so on, generating an endless loop and freezing the browser. This change checks for an actual window resizing before calling place(), fixing that problem