Update arrow position on resize.
Bobbing example