addPanel correctly assigns row