add buttons for back and forth in fragment_cards