Add layout for gallery