use auto layout instead