adds next/previous page for activities.