Preventing character rotation movement if touch outside virtual joystick

I have a standard third person character and am using the android virtual joystick for movement. However, if i touch anywhere on screen outside the joystick, the character will rotate. Any ideas on how to prevent this. I also have a couple of buttons on the screen that I do want the user to be able to touch.