afterRender functionallity for panel component