removing visibility monitor will only work if you convert the thumbnails to use real <img> elements.  Gecko can't manage the memory of images used with background-image.  See https://bugzilla.mozilla.org/show_bug.cgi?id=967089#c3