Fixed problem caused by pages containing floats

The height of the viewport was not being set correctly when pages
contained floated elements.  The problem was fixed, simply, by
automatically adding clearing elements to each page.