Small refactoring on Login textfield animation