Revert "Panel Containment Refactoring" for 5.25
The refactoring is premature and has casued various bugs. As the panel component is very important and will affect the experiences of millions of users, the refactoring should be temporarily reverted and be tested more throughly in the master branch.
Edited by Fushan Wen