implemented fullscreen api