Wait for slide show to run.