Merge pull request #3 from MissingLabel/scan-functionality

Scan functionality
added swipe functionality
Merge pull request #4 from MissingLabel/swipe_functions

added swipe functionality
fixed javascript to transfer data