Problems with a larger database have been slightly fixed by only linking a certain selection to select panels. This does create the problem that images can only be drawn from a subset in each panel, and not the database as a whole.
CSS script was added to apply to all images that keep them at a 200px width, this would be applied to height as well, but some panels are longer than others, and because of the random database, I cannot guarantee which panel will overlap where between the layers. It may be worth going back through the database and only keeping ones that are truly square, or as close to as possible. What if a panel was dedicated to these taller images? Move them into a separate folder and test?