fix bugs

fix a bug that when you touch move  the swipe the animate will stop and
not restart again. Now it can restart.