The sidebar is the area on the right side of the Keynote window that shows the Format, Animate or Document inspector.
Format inspector: Click in the toolbar to show controls for changing elements that affect your entire presentation, such as the theme and the soundtrack.
If a sidebar is open and you click its icon in the toolbar, the sidebar closes.