Added 'endreached' support.
if this is set to true, onLoadmore is not called further