making fullscreen change event listener works