Implement callback option

If specified, the callback method will be invoked with relative (in percent) position and size of the displayed image fragment.