add scroll offset, delete unneeded param