if (left-scrollLeft+width>clientWidth) {
        left = left - ((left+width) - (scrollLeft+clientWidth));
        this.div.style.left = left + "px";
    }