Fix Swipebox Links

The link wrapping the image in each batch was pointing to the last
image of that batch. Wrapping this in a closure to capture the loop
variable fixes the issue.
Don't Delay Load the First Batch

The first batch should be loaded immediately. It sort of was before,
except the loaded img objects were added to the DOM on load complete.
This ended up being after Justified Gallery was setup, so no images
were displayed until the second batch finished loading.
Ensure Last Batch Gets Displayed

The last batch was loaded after the final update call to Justified
Gallery. Once the last batch has been kicked off another timer is set
that simples calls an update on the gallery one last time.