now patient window can be resized when the window is maximized