Update example wrt orientationchange event.

It is no longer sent to the screen object but to the window object.