trying to add swipe control to main ui, not working yet