Change panel.shift to use slice_shift