better element movement, also element deletion