fix coordinate calculation for blitbuffer rotation
Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_code
Merge pull request #751 from houqp/new_ui_code

fix coordinate calculation for blitbuffer rotation