next and prev button now binding responsively