Add two buttons to navigate to the head and the tail.