heavily improved scroll syncing