move swipe events to views/GalleryView.js