Animating input box