correct diaporama start and stop