Added check for g:scroll_position_auto_enable