added basic support for touch devices
removing unnecessary flag
removed console.log
Merge pull request #1 from hayesmaker/master

merge