Added HTML5 full screen detection