Added swipebox functionality