add options for zoom and callbacks for events