slice view that works even on input ranges