Improve display function by completion
Change didSwipe method in ViewController