updated example to use mouse scrolling