Finally fixed the bugs in this. The container is the first form-children DIV outside the container, not the first form-container.