Modified the slide transition.