fix panzoombar scroll bug (issue #798)

This is a fix for https://github.com/openlayers/openlayers/issues/798

It would be nice if this could be included asap as we (swisstopo) would need this.