5) tapMoved = true"
@touchend="let diff = startX - $event.changedTouches[0].clientX; if (Math.abs(diff) > 50) { diff > 0 ? next() : prev(); } else if (!tapMoved && !$event.target.closest('button')) { $dispatch('open-lightbox', { images, index }); }">