switch from background page to event page