Adds animation on input focus events