can-swipe is a boolean

This is a bit confusing and only realized that it was a boolean once I read the documentation a bit further on.