make fullscreen event based