       @end()
     else if key == 'p' || keycode == KEYCODE_LEFTARROW
       if @currentImageIndex != 0
-        @changeImage @currentImageIndex - 1
+          @changeImage @currentImageIndex - 1
     else if key == 'n' || keycode == KEYCODE_RIGHTARROW
       if @currentImageIndex != @album.length - 1
-        @changeImage @currentImageIndex + 1
-    return
-
-
+          @changeImage @currentImageIndex + 1
+    return
+
+  
   # Closing time. :-(
   end: ->
     @disableKeyboardNav()

    $('#lightboxOverlay')
      .width( $(document).width())
      .height( $(document).height() )


  # Animate the size of the lightbox to fit the image we are showing
  sizeContainer: (imageWidth, imageHeight) ->
    $lightbox = $('#lightbox')

    $(document).on 'keyup.keyboard', $.proxy( @keyboardAction, this)
    return

  
  disableKeyboardNav: ->
    $(document).off '.keyboard'
    return
  
    
  keyboardAction: (event) ->
    KEYCODE_ESC = 27
    KEYCODE_LEFTARROW = 37
