Border collisions logic