public void updateBottom(LayoutContext c, int absY) {
    PageBox page = getPage(c, absY);

    getContentLimit(page.getPageNo(), true).updateBottom(absY);

    ContentLimitContainer parent = getParent();
    if (parent != null) {
      parent.updateBottom(c, absY);
    }
  }
 public PageBox getPage(LayoutContext c, int absY) {
   PageBox page;
   PageBox last = getLastPage();
   if (last != null && absY >= last.getTop() && absY < last.getBottom()) {
     page = last;
   } else {
     page = c.getRootLayer().getPage(c, absY);
     setLastPage(page);
   }
   return page;
 }