finding panning row