using scrolling flags