added margin at bottom of galleries
updated gallery template html structure