     minimapCanScroll = (minimapHeight * @scaleY) > scrollViewHeight
 
     if minimapCanScroll
-      minimapScroll = -(scrollRatio * minimapMaxScroll)
-      @transform @miniWrapper[0], @minimapScale + @translateY(minimapScroll)
+      @minimapScroll = -(scrollRatio * minimapMaxScroll)
+      @transform @miniWrapper[0], @minimapScale + @translateY(@minimapScroll)
     else
+      @minimapScroll = 0
       @transform @miniWrapper[0], @minimapScale
 
-    @data('top', minimapScroll)
     @transform @miniOverlayer[0], @translateY(overlayY)
 
   # EVENT CALLBACKS

    @scaleY = @scaleX * 0.8
    @minimapScale = @scale(@scaleX, @scaleY)
    @miniScrollView = @miniEditorView.scrollView

  initialize: ->
    @on 'mousewheel', @mouseWheel

    @isClicked = true
    e.preventDefault()
    e.stopPropagation()
    minimapHeight = @miniScrollView.outerHeight()
    miniOverLayerHeight = @miniOverlayer.height()
    # Overlayer's center-y
    y = e.pageY - @offset().top
    y = y - @minimapScroll * @scaleY || 0
    n = y / @scaleY
    top = n - miniOverLayerHeight / 2
    top = Math.max(top, 0)
    top = Math.min(top, minimapHeight - miniOverLayerHeight)
    # @note: currently, no animation.
    @editorView.scrollTop(top)
    # Fix trigger `mousewheel` event.
