updated viewHidden stuff