adding navigation buttons for current page