Implement swipebox.