In the Outline pane in Normal view,
select the slides,
click the Collapse button to collapse the selected slides.
A horizontal line appears below a collapsed slide in Outline view.
Click the Expand button to expand the selected slides.
Click the Collapse All button to collapse all slides.
Click the Expand All button to expand all slides.