That's how I felt. At first I felt like it ruined the tone and was completely out of place. But then I put a little thought into it: much like Gamora before, Ronan clearly doesn't understand dancing and what it conveys, and Peter is a big goofball, and that was his quick solution for a distraction. It clearly served its purpose. In the end, I liked it.