path animation smoothened