Fix randomInt returning floats.
Prevent scrolling on iOS devices.