Swipe direction is determined by which edge the finger started on AND the drag direction matching (right edge + swipe left = next, left edge + swipe right = prev). Both no-op at their respective boundaries. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>