fixed opacity of ripples and added xbrowser compatibility