code: public final int pageY() {
      if (getTouches() != null &&  getTouches().length() > 0) {
        return getTouches().get(0).getPageY();
      } else {
        return getClientY() + GQuery.document.getScrollTop();
      }
    }
docs: The mouse position relative to the top edge of the document.