fix layout galleries overview, restict length of gallery name to 35 chars
bugfix: photos can be deleted from a gallery