Changes to forked repo: Added touch functionality for mobile devices as well as saving state