working on view-swipe