Change Collision to detect beginning and ending collision