added fullscreen detection

Will do