Fixed layout issues on ipad application