Implemented the double tap and pinch to zoom.

I've only copied the code that Igor send to me :)
Now the double tap zooms in the correct mode and pinch also. Zooms are
archived.