Omg, I hope I've finally nailed the auto resizing, that was a Herculean effort