added next/prev buttons