Methods to handle html5 fullscreen