Adding standard transition to form elements