Animate transitions from input form to story text and back