Fix slimbox2 for small images (thumbnails)
A good start for the mosaic view, still loads todo.