set height for index gallery