Dictionary.com
Thesaurus.com

stretch one's legs

Idioms  
  1. Stand up or go for a walk, especially after a prolonged period of sitting. For example, Let's go stretch our legs at intermission. [c. 1600]