passing zoombox to callback functions