This broke the pan gesture

This reverts commit 74b55f84291bc1868171888a3a7de282fff39021.