add mask for scrolling