Check to see if prev/next buttons exist