Revert "remove dumb wrapper around panel"

This reverts commit 4a2cff57e8698109500d1aad71223982465d4552.