Move links to the end