Implement 'scrolloff' setting

closes #403