refine the sidebar and page layout