updated to use the ZOOM_EVENT_END event