created gallery layout