adding swipe functionality

Known issue with the inability to swipe when the section element is
empty.