Remove unneeded function
change the color when the height changes