heigth auto in whole galleries