collision direction and handling - not working