moved events into one file, take prev and next from current page