Bug 1045480 - Fix panel transition r=eragonj

https://bugzilla.mozilla.org/show_bug.cgi?id=1045480