overridden defaultHomeScroll config value

Added 'is defined' check.