GestureDetector swipe and animate view snippet