I am sure we all have students who have a little bit of attitude. Sometimes this is hard to deal with, especially when the teacher is trying so hard. I feel that many times it best to not give attention to the attitude or rather to respond with empathy, but I have been experimenting with another way as well.
When students give me attitude, I give it back. I just mirror exactly what they do and they see what they look like. When they see what they look like, they almost always lighten up and realize that they are being a bit disrespectful. Again, probably not a best practice idea, but it seems to work with some students without giving them a lecture or yelling at them.