I'll suggest something, but you can decide whether to actually try it, after I've had a chance to look at the code. I don't want to come-in and take from you the satisfaction of putting the last touch on your own project, which is probably really close to working perfectly, save for one thing. My first impression is just to immediately look at the absolute value (square root of square) of the distance of the vertical bar from the screen center, when you press "Hit". That said, I need to go look at what you're doing now.
EDIT: You know what? It's such a jumble of stuff in there (inside the code), that I think it would be helpful, if you explained what's going on and said something about where the current method evaluates the position of the bar, when the hit happens. What are you currently doing?