     return 0 unless @lastDivider()?
     @lastDivider().offsetTop - @clientHeight + 8
 
-  isScrolling: false
-
-  _scroll: ->
+  scroll: ->
     target = @scrollEndValue()
     delta = target-@scrollTop
-    mov = Math.max delta/2, 5
-    mov = Math.min delta, mov
-    if delta > 0
-      @isScrolling = true
-      @scrollTop += mov
-      requestAnimationFrame => @_scroll()
-    else
-      @isScrolling = false
-      @focusLast()
+    if delta > 0 then @scrollTop += delta
+    @focusLast()
 
-  scroll: ->
-    if not @isScrolling
-      @_scroll()
+  isLocked: false
 
   _lock: (input, target) ->
     if input.offsetTop + input.clientHeight + 10 <

      delta = input.offsetTop - @scrollTop - target
      @scrollTop += delta
    requestAnimationFrame (t) =>
      if t > @isScrolling
        @isScrolling = false
      else
        @_lock input, target

  lock: (time) ->
    scrolling = @isScrolling
    @isScrolling = performance.now() + time
    if not scrolling
      input = @lastCell()
      target = input.offsetTop - @scrollTop
      @_lock input, target

module.exports = ConsoleElement = document.registerElement 'ink-console', prototype: ConsoleElement.prototype

    view.appendChild result
    view

  setIcon: (cell, name) ->
    gutter = cell.querySelector '.gutter'
    icon = cell.querySelector '.icon'
