shift span to the end middle