vector based ball bouncing