Added next-slice() and prev-slice()