Revert "Bug 840147 & Bug 877903 : fix orientation problem on open/close app animation."
 - Backout this change since it caused Bug 888339.

This reverts commit 4a5aa95c17656a84395eb78763f7f1c0f9623827.