redesigned gallery layout