Adds the swipebox jquery plugin to the gallery.