fix for screenshot animation glitch in portrait

edits by Stefano Semeraro aka Suxsem.

Change-Id: I7a03a24c5b1bfdfe616f940b2bd7be42091f45a6
Merge "fix for screenshot animation glitch in portrait" into cm-11.0
Merge pull request #9 from CyanogenMod/cm-11.0

update fork