One direction pinch zoom

This PR suggests an enhancement to the pinch zoom interaction. Currently, after pinch, we snap to the closed resolution. But that gives a weird visual effect if the zoom direction changes. I think we should not the change the zoom direction when animating to the final resolution. When zooming out we should snap to the closest smaller resolution. When zooming out we should snap to the closes larger resolution.