Poloidal rotation and its relation to the potential vorticity flux