Implement wheel events for palette (in edit mode only).