Added animation to height changes