Got program to run again by removing swipetodismiss library.