added css transition to height