added a slide directive