Added Modernizr touch detection and buildSwipe functions