I would probably check for a specific number of pixels. If you load more images multiple times, that last 20% will keep getting bigger and bigger. A specific number of pixels will be more consistent.
var difference = imageListContainer.maxScrollY - imageListContainer.scrollY;
if (difference < 100.0) {
Additionally, you might want to add a check to see if you are already loading more images. Once you pass the threshold, any additional scrolling will still be past the threshold, so you may actually end up making multiple requests, if you aren't careful.