Change method signature to require an ScrollOptions object. Closes #1.