Changed implementation of scroll and mapped to MacOSX