Extend active record and add next(relation) and previous(relation)