disable navigation buttons when no rows are dislplayed.