add window control