update scrollbars for rotation