add the slide effect