Prevent balls from colliding with left and right sides