added swipe functionality and swipe icons