added ball-leftrectborder collision.