[#777] Fix pager HTML. This is a live bug but looks much much worse with new stylesheets.