Got the panning working. Still not happy with the structure.