How can I animate the movement of a view or image along a curved path?