attempt to get GEM working on mobile devices