flag for maximized window added