added ball moving around edges of box