removing a debug print
adding a test for panning