Added Styling to the gallery

Added scripting to the gallery to assign the correct anchor tag to each
image in the gallery. Added styles to the gallery.