add user control for ball moving.