 
   constructor: ({@slides}) ->
     @create()
-    @el = $("#small-tutorial").hide()
+    @el = $("##{tutorialId}").hide()
 
     @nextBtn = @el.find("button#next")
     @closeBtn = @el.find("button#close")

    @showSlide(1)
    window.addEventListener "click", @exitIfClickOutside

  exitIfClickOutside: (e) => @exit() if e.target.id is "tutorial"

  currentSlide: -> @el.find('.dot.active').index() + 1



  create: ->
    $("body").append(html)
    @dots = $("##{tutorialId}").find(".dots")

    for slide, i in @slides
      $("##{tutorialId} #slides-container").append "
        <div id='slide#{i + 1}'>
          <div class='top-half'>
            <img src=#{slide.image}>
