Gravar-mail: Transition by head-on collision: mechanically mediated manoeuvres in cockroaches and small robots