Bug 1050164 - Investigate to implement standalone shrinking library

https://bugzilla.mozilla.org/show_bug.cgi?id=1050164
Why do you need to shrink any app window whenever the active app window is changed?