 
     @displayCodeHighlights = atom.config.get('minimap.displayCodeHighlights')
 
-    atom.config.observe 'minimap.minimapScrollIndicator', =>
+    @subscriptions.add @asDisposable atom.config.observe 'minimap.minimapScrollIndicator', =>
       @miniScrollVisible = atom.config.get('minimap.minimapScrollIndicator')
       @miniScroller.toggleClass 'visible', @miniScrollVisible
 
-    atom.config.observe 'minimap.useHardwareAcceleration', =>
+    @subscriptions.add @asDisposable atom.config.observe 'minimap.useHardwareAcceleration', =>
       @updateScroll() if @ScrollView?
 
-    atom.config.observe 'minimap.displayCodeHighlights', =>
+    @subscriptions.add @asDisposable atom.config.observe 'minimap.displayCodeHighlights', =>
       newOptionValue = atom.config.get 'minimap.displayCodeHighlights'
       @setDisplayCodeHighlights(newOptionValue)
 

  # transform - The css transformation {String}.
  transform: (el, transform) ->
    el.style.webkitTransform = el.style.transform = transform

    @editorView.scrollTop(top / @scaleY)


  #    ########  ########  #### ##     ##    ###    ######## ########
  #    ##     ## ##     ##  ##  ##     ##   ## ##      ##    ##
  #    ##     ## ##     ##  ##  ##     ##  ##   ##     ##    ##
  #    ########  ########   ##  ##     ## ##     ##    ##    ######
  #    ##        ##   ##    ##   ##   ##  #########    ##    ##
  #    ##        ##    ##   ##    ## ##   ##     ##    ##    ##
  #    ##        ##     ## ####    ###    ##     ##    ##    ########

  # Returns a {String} containing a css transform translation.
  #
