Looks like this is a helper function that's not being used right now, but could be useful in the future. It might be more useful if it was something like "setSwipeable" that you could pass a boolean to. Just a suggestion.