added darwin fullscreen func