dEventListener('touchmove', function (e) { e.preventDefault(); L = e.touches[0].clientX - disX; T = e.touches[0].clientY - disY; starXEnd = e.touches[0].clientX - starX; starYEnd = e.touches[0].clientY - starY; if (L < 0) { L = 0; } else if (L > document.documentElement.clientWidth - this.offsetWidth) { L = document.documentElement.clientWidth - this.offsetWidth; } if (T < 0) { T = 0; } else if (T > document.documentElement.clientHeight - this.offsetHeight) { T = document.documentElement.clientHeight - this