sending websocket message when the image is touch or animated back