object animates along path