Add a 'toggle-fullscreen' method.