Added gestures for touch devices
Only initialise swipe library if it is supported