add dynamic layouts for index