Changed Gallery layout