anchor.diff:              } else {
                   ub = x2(Globals.Domain[1]);
               }
  +            if(Globals.Domain[0]>x2.domain()[1] || Globals.Domain[1]<x2.domain()[0]) {
  +                lb = 0;
  +                ub = width;
  +            }
               context.select(".brush").call(brush.move, [lb, ub]);
               context.select(".brush").transition().duration(500)
                   .style("opacity", 1);
  
positive.code:             if (!transitioning) {
                  if (d3.event.sourceEvent && d3.event.sourceEvent.type === "zoom") return;
                  var s = d3.event.selection || x2.range();
                  if( (s[1]-s[0])>=(width/numDays) ) {
                      console.log(s);
                      x.domain(s.map(x2.invert, x2));
                      Globals.Domain = x.domain();
                      focus.select(".area").attr("d", area);
                      focus.select(".xAxis").call(xAxis);
                      svg.select(".zoom").call(zoom.transform, d3.zoomIdentity
                          .scale(width / (s[1] - s[0]))
                          .translate(-s[0], 0));
                  }
              }
          }
  
  
negative.code:                 ub = x2.domain()[1];
              } else {
                  ub = Globals.Domain[1];
              }
              if(Globals.Domain[0]>x2.domain()[1] || Globals.Domain[1]<x2.domain()[0]) {
                  lb = x2.domain()[0];
                  ub = x2.domain()[1];
              }
              x.domain([lb, ub]);
          }
  