make window resizing in IE8 work

A very simple addition in order to make window resizing work in IE8.