Dynamic resizing of slice view when 3D view resized