added scroll offset fix