switching between slices now correctly updates slider bars and boxes