     @el.querySelector('aside').classList.toggle 'closed'
     false
 
-  zoomIn: ->
-    z = @viewport.get 'zoom'
-    z *= 1.4
-    @viewport.set zoom: z unless z > 3
-    false
-
-  zoomOut: ->
-    z = @viewport.get 'zoom'
-    z /= 1.4
-    @viewport.set zoom: z unless z < 0.3
-    false
-
   moveUp: ->
     was = @viewport.get 'offset'
     offset = x: was.x, y: was.y - 100

    offset = x: was.x + 100, y: was.y
    @viewport.set offset: offset
    false

    'click #add-line-v': 'addLineV'
    'click #add-line-d': 'addLineD'
    'click .toggle-menu': 'toggleMenu'
    'click .move-up':    'moveUp'
    'click .move-down':  'moveDown'
    'click .move-left':  'moveLeft'
    'click .move-right': 'moveRight'
    'click .zoom-in':  'zoomIn'
    'click .zoom-out': 'zoomOut'
    'mousewheel': 'wheel'
    'DOMMouseScroll': 'wheel'

  initialize: ->
    @viewport = new App.Viewport()
