working on the panning code