GenerousSlidingUpPanelLayout: Fix slide detecting logic
Signed-off-by: Peter Cai <xqsx43cxy@126.com>