bind f11 to toggle fullscreen and remember the state before fullscreen