moves over double linked list