fix duration setting for slide transitions