How do I FAQ, section "Scrolling / camera".
There is a Delayed/controlable camera example.
Also the ScrollTo behavior just uses the system scrolling expression Nimtrix mentioned.
If you want to enable/disable it, just put it in a group.
But you're kind of trying to reinvent the wheel.