Split out layout code from Plot/Polar to PolarLayout