Anderson ends Headingley ‘hate’ in style