made abstract constructor for panels (PanelPendulumAbstract)