Add event for the Next / Prev button