               </div>
             </div>
             <div>
-              <button 
-                title={ "zoom out" } 
-                className={"zoom-out fa fa-minus" + if @cannotZoomOut() then " disabled" else "" } 
-                onMouseDown={ @continuousZoom.bind(this, 1.1 ) } 
-                onMouseUp={@stopZoom} 
-                onKeyDown={@keyDownZoomButton.bind(this,1.1)} 
+              <button
+                title={ "zoom out" }
+                className={"zoom-out fa fa-minus" + if @cannotZoomOut() then " disabled" else "" }
+                onMouseDown={ @continuousZoom.bind(this, 1.1 ) }
+                onMouseUp={@stopZoom}
+                onKeyDown={@keyDownZoomButton.bind(this,1.1)}
                 onKeyUp={@stopZoom}
               />
             </div>
             <div>
-              <button 
-                title={ "zoom in" } 
-                className={ "zoom-in fa fa-plus" } 
-                onMouseDown={@continuousZoom.bind(this, .9)} 
-                onMouseUp={@stopZoom} 
+              <button
+                title={ "zoom in" }
+                className={ "zoom-in fa fa-plus" }
+                onMouseDown={@continuousZoom.bind(this, .9)}
+                onMouseUp={@stopZoom}
                 onKeyDown={@keyDownZoomButton.bind(this,.9)}
-                onKeyUp={@stopZoom} 
+                onKeyUp={@stopZoom}
               />
             </div>
             <div>
               <button title={"reset zoom levels"} className={"reset fa fa-refresh" + if @cannotZoomOut() then " disabled" else ""} onClick={ this.zoomReset } ></button>
             </div>
           </div>}
-        
+
       </div>
 
 

        height: @state.viewBoxDimensions.height

  panVertical:(direction)->
    maximumY = (@state.frameDimensions.height - @state.viewBoxDimensions.height) + 20
    minimumY = -20
    changedY = @state.viewBoxDimensions.y + direction
    @setState
      viewBoxDimensions:
        x: @state.viewBoxDimensions.x 
        y: Math.max(minimumY, Math.min(changedY, maximumY))
        width: @state.viewBoxDimensions.width
        height: @state.viewBoxDimensions.height

          height: newNaturalHeight,
          x: newNaturalX,
          y: newNaturalY

  keyDownZoomButton: (change, e) ->
    # only zoom if a user presses enter on the zoom button.
    if e.which == 13
