fixed movement.cc to work on data frame _pointer_