viewport changes and table