Size container after adding grid items

I've added a function to resize the container to the height of the tallest column. Without this, the container has no height, so any footer divs get bunched up below the grid.

I only did this for the basic javascript code, not jquery or yui. Sorry about that. I don't have the time right now for a fully, tested fix.

It probably needs to be optional.