Trying to use the balls movement direction for better detection. not working so far