Implement callback option

Such a callback option can be used to synchronize the zoom level, for instance by drawing a rectangle over the original thumbnail to indicate the context.