add button to control swipe in demo