stops pan controls when dragging outside svg

 better ux when making large drags
Merge pull request #8 from AlexanderPico/patch-1

stops pan controls when dragging outside svg