Prevent swipe gesture on cells triggering edit state.

Fixes #1948