add method that search for a superview of a particular class