there were sentry boxes beside the entrance to the garrison , and at intervals along the walls , and smartly-uniformed guards were marching slowly between them with that exaggerated step of theirs , stopping when they met , slapping their rifles and turning in a slow-motion pantomime of stamping feet , to march back again .