Prevent scroll from propagating to `body` in panels

Fixes 1182