panning implemented