simple cross frame event handling