reworked the fetching of the caliper images

props to @ewels for both the idea and the great help in the implementation.
This will make the caliper images loaded by one after the other, only if someone is looking at them, and without interfering with the sample info.

+1 for use of `~var.indexOf`, had to look that one up :wink: :+1: