Added css classes to the the pagination on timeline pages.