made ball bounce off edges of window