consider visibility when calculating page content positions
this prevents positioning being off when headers or footers are marked invisible (e.g. when they are currently not applicable) lest random empty space appears where the item would ordinarily be