     else
       @element.scrollTop + @element.offsetHeight
 
-  scrollToEntry: (entry) ->
+  scrollToEntry: (entry, center = true) ->
     element = if entry?.classList.contains('directory') then entry.header else entry
-    element?.scrollIntoViewIfNeeded(false) # false = just enough to make the item visible
+    element?.scrollIntoViewIfNeeded(center)
 
   scrollToBottom: ->
     if lastEntry = _.last(@list.querySelectorAll('.entry'))

    if selectedEntry?
      if selectedEntry.classList.contains('directory')
        if @selectEntry(selectedEntry.entries.children[0])
          @scrollToEntry(@selectedEntry())
          return

      if nextEntry = @nextEntry(selectedEntry)

    else
      @selectEntry(@roots[0])

    @scrollToEntry(@selectedEntry(), false)

  moveUp: (event) ->
    event.stopImmediatePropagation()
