added next and previous button on tabs

ok for this, and the following one, they do something which can't be done in the template for readability sake