implement toggle_fullscreen for sdl2