 
   slidePhoto: (event) =>
     self = $(event.currentTarget)
-    width = 0
 
     if self.hasClass('left-button')
-      ITTER-- if ITTER > 0
+      if ITTER > 0
+        WIDTH -= @ui.img.eq(ITTER).width()
+        ITTER--
     else if self.hasClass('right-button')
-      ITTER++ if ITTER < @count - 2
+      if ITTER < @count - 2
+        WIDTH += @ui.img.eq(ITTER).width()
+        ITTER++
 
-    for i in [0...ITTER]
-      width += @ui.img.eq(i).width()
-
-    if width > WIDTH
+    if WIDTH > MAX_WIDTH
+      @ui.photoalbumInner.stop().animate('left': -MAX_WIDTH, 300)
+    else
       @ui.photoalbumInner.stop().animate('left': -WIDTH, 300)
-    else
-      @ui.photoalbumInner.stop().animate('left': -width, 300)
 
   registrationForm: (event) =>
     event.preventDefault()

  SHORT_HEIGHT = 0
  ITTER = 0
  WIDTH = 0
  DATE = [2014, 5, 21]

  constructor: ->

    @ui.reviewList.height(SHORT_HEIGHT)

  _initPhotoalbum: ->
    width = 0

    @ui.img.each ->
      width += $(@).width()

    MAX_WIDTH = width - $(document).width()
