Implement the side panel in the main view.