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 remote-tracking branch 'cm/cm-11.0' into cm-11.0