add tags _after_ input to keep input at the beginning of list