You are right that it doesn't make any difference. So I've copied your code and did a test by myself. It works! Even if I use an invalid scroll amount like &zamt = abc, it works perfectly. ABC is displayed.
The only thing I can imagine is that your panel is not refreshed after the last change...