layout attributes ios6 fix