Bug 833511 - Add rotation gesture support for standalone image documents. r=jaws