bugfix
change gallery layout