window must be resizable