Fix curve options and use animationEnd
Add viewport setting
Working before adding distance controller
Added vertical control