Text this: Ringgit ends marginally higher as US dollar continues retreat