modified scroll library