creating swipe views