[fix #14] page breaks in tables are avoided (in a bit of hacky way)