Returns the current names of the previous and next buttons contained in the slide table. The method fills the passed string objects with previous and next button names and returns them to a calling subroutine.