Allow mouse panning to fire when it leaves the browser

Fixes #120.  The mouse handler now works like google maps when panning.