US pending home sales gain momentum