Changed panning method.
Use ATL, not the depricated pan method (which causes flickering)
Merge pull request #25 from willxinc/master

Changed panning method.