toggle fullscreen and bugfix