Added button for next and previous