socket sync function
sync div text, move and position