preparation for scrolling bar