wait for head to finish moving