added drag attribute and focus on new items input