commit 7

changed how the camera panning functions