JS events for mobile,  css px --> rem, + @media qr

Added JavaScript events for mobile (tap in lieu of click, and taphold
in lieu of dblclick, + added a media query for larger device pixel
ratios (need to replace that with a couple of queries with device width
or height later to work for all devices, maybe even tablets)