add panel into frame