changing layout of index