replacing scrolling type