Handle slide preparation (wait for the slide to be ready before displaying it)