optimize gesture detection for swipeDown