Revert "* fix crash"

This reverts commit 63b14986d7b8bcf9fb3d98fe35dd09504d187480.
- enable swipe gesture
* fix crash