change logic of elems mooving