add scrolling to patter display