'Thin controller'. Re-jig swipe logic.

@commuterjoy this moves all that swipe logic out of common.js bootstrap.