Don't call internal width change code if the width is still the same

This pull request stops an infinite loop of window.resize events happening in Internet Explorer if you set the grid width inside a window.resize event callback.

This issue caused a browser hang for us in IE 9 (and presumably IE 10) if the user gets logged out of a page that contains a grid due to a 30 minute timeout.