added a Gallery layout