Changed next and previous buffer.