Relocated the PanelFuncion

Signed-off-by: Jedabero <jedabero@hotmail.com>