Rough support for mobile devices. Fixes #35. Fixes #1