Bugfix for iOS #horizontally #rotate #orientation

Tested on:
Chromium (24.0.1312.56)
Google Chrome (25.0.1364.68 beta)
Opera (12.14)
IOS 6.1.2

based on:https://github.com/gokercebeci/canvasResize