Inject next and previous items