Remove duplicate classes. Fix #4 by canceling gesture on empty cells.