Fixes #7. Add pan interaction

Also added a utility for detecting key modifier state on browser level events.
Suppress warning from use of bitwise operators

I considered disabling this globally, but I left it enabled for now so
it will warn us if we use one when we mean to use a logical operator.