added hook for custom handling of zoom level change