Added auto slide directive.