got the window resizing working again