shaping view for ipad doctor view