the argument to toggleSize is fullScreen already, so use that instead of the global