Agile on my feet, I drive dogs mad. I flick my tail when I’m angry and hum when I’m glad. What am I?

Image of Riddle Question

Can you solve this riddle without clicking that tempting answer button?