Loop through the playlist when calling prev and next.