Oil perks up after sharp week-long selloff on supply