added more functional code (still a bit buggy though!)
Merge pull request #82 from jhaybie/swiping

added more functional code (still a bit buggy though!)