JavaScript: Scroll page between target and receiver