slight modification

changed second rippleposition to ->y