first fullscreen implementation see #1246
native fullscreen on macosx. see #1246