Fixed prev/next buttons for invoices