update display_slice to use j instead of scale