add gallery layout
add gallery layout