Grand slam helps Cards move on