A webcomponent for internal use without any visual representation. The script listenes for window resize events and fires three custom events that other components can listen to: