[FEATURE] Adds resize and orientationchange event handling