moving links to right spot