Attempt to get window resizing working