added palette scrolling with mouse wheel