add swipe example, close #168