if (current > target) {
                new_width = getHeight.apply(this) * target;
                diff = getWidth.apply(this) - new_width;
                data.position.x1 = data.position.x1*1 + (diff/2);
                data.position.x2 = data.position.x2*1 - (diff/2);