Fix bug with detecting target slide after touch gesture