change the max height of title of each items