Sharapova re-dresses for success to reach fourth round