Implements pinch rotate.

This PR implements two finger rotation on tablets.