Merge pull request #10 from Gabs00/dev

tidied up html, added html5 doctype, char encoding
changed swipe so that any directional swipe will go to the alternate state