update URL when scroll in endpoints