adding scroll pattern