Change Element Height Dynamically

This is my Random Quote Machine project.

Problem: I can’t dynamically animate the height of the #quote-box element as the new quote comes in. It just snaps in and out of place.

Any suggestions to fix that?