implemented end-of-movement callback