  } else {
                    this.rect.attr('width', newWidth);
                }
            }
            highlightCurves(this, false, false);
            this.isPlaying = false;
        },

        init: function () {
            var that = this;

            this.rect.mouseover(function (event) {
                that.playStyle(false);
                event.preventDefault();
            });

            this.rect.mouseout(function (event) {
                that.normal();
                event.preventDe