added panning