added checkbox for window position/size