made last commit more generic by moving to UIView