fix an issue where the sliding gesture could be aborted if the window had other gesture associated with it