 
         if key == left
           t0 = @_roundTime(focus, zoom, -1)
-          console.log "roundTime: #{focus}, #{zoom}, #{-1} -> #{t0}"
           t1 = focus
           dx = @timeSpanToPx(focusEnd - focus)
         else

        startPt = @timeToPosition(t0)
        stopPt = @timeToPosition(t1)

        console.log "FocusSet (#{new Date(t0).toISOString().substring(0, 10)}, #{new Date(t1).toISOString().substring(0, 10)})"
        left = @_buildRect(class: @scope('unfocused'), x1: startPt)
        overlay.appendChild(left)



    _buildRect: (attrs) ->
      attrs = $.extend({x: MIN_X, x1: MAX_X, y: MIN_Y, y1: MAX_Y}, attrs)
      attrs['width'] ?= (attrs.x1 - attrs.x) | 0
      attrs['height'] ?= (attrs.y1 - attrs.y) | 0
      delete attrs.x1
      delete attrs.y1
      @_buildSvgElement 'rect', attrs

    _roundTime: (time, zoom, increment=0) ->
      time = Math.round(time / 1000) * 1000
      date = new Date(time)
      components = (date["getUTC#{c}"]() for c in ['FullYear', 'Month', 'Date', 'Hours', 'Minutes'])
      components = components.slice(0, Math.max(components.length - zoom, 1))
