fixed for ipad

fixed autolayout for ipad2