finally got the canvas bounds working with a reflection with contact and a elastic collision