userAgent checking

// Source: https://github.com/pixelcog/parallax.js/blob/master/parallax.js#L96
if (navigator.userAgent.match(/(iPod|iPhone|iPad)/)) {
    // if iOS
}

if (navigator.userAgent.match(/(Android)/)) {
    // if Android
}