added a slide on js