Update layout of the ipad app (flex)