Support mouse wheel to scroll thru images.

Warning: this add API 12 dependence.
Add rough support of zoom type switch on double-click.

This doesn't work to well as it is - zoom change doesn't happen immediately,
and actually happens for few images after one on which click happened. But
event handling is there at least.