maximize window and fullscreen window