Add onzoom and onbrush callbacks - #395