added click and drag  behavior to reposition the waves