Added initializer to determine if balls can bounce off the edge of the screen