shift span to the end