improved ripples.js
added support for mobile devices to ripples.js