Cleanup layout and sidebar.