Fix detection of whether the current device is touch-enabled
Merge pull request #21 from smart-facility/better-mobile-ux

Fix detection of whether the current device is touch-enabled (fix pull request #20)