Added navigation to swipe view

added button and swipe classes for fragment