   if (nextSection?)
     nextStepId = nextSection.data("step")
     currStepId = $(currentPad).closest(".displayed").data("step") ? -1
-    
+
     # Don't display the panel unless it is the next one
-    return unless currStepId + 1 == nextStepId  
-      
+    return unless currStepId + 1 == nextStepId
+
     nextSection.fadeIn('slow')
     $('body').scrollTo(nextSection, ->
       nextSection.removeClass("toBeRevealed").addClass("displayed")

  # We need the second to last path segment because Jekyll makes pretty URLs by
  # creating directories named after pages with a single index.html file in each
  lessonNumber = pathSegments[pathSegments.length - 2]
  
  $(".toBeRevealed").each (idx, el) -> $(this).data("step", idx)
    
  $(".scratchpad").each (idx, el) ->
    setupAce(lessonNumber, idx, el)


      if environment == "development"
        console.log "Did it for #{pos}"

      setTimeout (->
        showNextSection(el)
      ), 500
  )

previewMd = (pos, editor) ->
