fixed merge issue with images, set main view to portrait to avoid refresh