fixed prev/next with chapters too