Adding swipe gesture support

Changes:
- Added support for swipe controls
- Changed sample project to use swipe controls and hide the button controls
- Code cleanup