changed controlwindow to resizable