text: Title: Minor refactoring suggestions to improve code quality
  Body: Should be `poses.key()` not `poses.items()`
  https://github.com/mithi/hexapod-robot-simulator/blob/5d0d7beb3e057ee50b36484cdb971477db8db59f/pages/helpers.py#L22