Added prev/next button reordeing