I think that works, vertical movement would should count, as far as dervish dance is concerned, and as long as you can jump 5 feet
You could jump around someone, jumping 5 feet horizontally, leaving him still within reach. If they're medium or smaller, you could also just jump over them.