add fullscreen detect