fixing initial colspan in toggle boxes by looking at headers instead of separate rows