implemented ability to turn panning on and off
Merge pull request #1 from howaboutwe/allow_panning

implemented ability to turn panning on and off