cell constrain for switch cell view