Made isPanning view specific

isPanning was being set as a global variable, so setting a non panning keyboard handler would break panning keyboard handlers.
Added missing newline to the end of the header.
Merge pull request #40 from davbeck/upstream

Made isPanning view specific
Merge pull request #41 from juri/master

Fixed missing newline at the end of the header