moved panel grow out of shared method