make sure scroll is transmitted as int