improvement of the panel and the sidebar