apply the same logic to the y collisions