use post message for viewing modes
fullscreen handling for chromium