add trailing slashes for gallery folders

Signed-off-by: Chris Warrick <kwpolska@gmail.com>