debugging direction change on collision