Added next and prev buttons