Adding next and previous to event