Swap width and height in getResolution
Merge pull request #5 from intrications/patch-1

Swap width and height in getResolution