add an animation in swipe

I changed the touch operation of the view to the possibility in scroll and an animation