Moved UI input handling into UIView