pageOffset and relativeOffset functions become private